package service;

import java.util.List;

import entity.Account;

public interface IAccountService {

	void save(Account account);
    void update(Account account);
    void delete(Account account);
    Account getById(int id);
    List<Account> getAll();
    
    //转账
    void transfer(Account source, Account dest, int amount);
}
